package com.szl.yeb.entity;

import java.time.LocalDate;
import java.io.Serializable;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.experimental.Accessors;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * (Position)表实体类
 *
 * @author szl
 * @since 2022-08-24 16:21:27
 */
@ApiModel("Position")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_position")
public class Position implements Serializable {

    private static final long serialVersionUID = 1L;

    //id
    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    //职位
    @ApiModelProperty("职位")
    @Excel(name = "职位")
    private String name;
    //创建时间
    @ApiModelProperty("创建时间")
    private LocalDate createDate;
    //是否启用
    @ApiModelProperty("是否启用")
    private Integer enabled;
}

